package com.csnf.dao;

import com.csnf.entity.Student;

import java.io.IOException;
import java.util.List;

public interface IStudentDao {
    List<Student> findAll() throws IOException;

    Student findById(Integer id) throws IOException;

    List<Student> findByName(String name) throws IOException;

    void deleteById(Integer id) throws IOException;

    void update(Student student) throws IOException;

    void insert(Student student) throws IOException;
}
